from django.db import models

class Category(models.Model):
	category_title = models.CharField(max_length=100)
	
class Sites(models.Model):
	site = models.CharField(max_length=20)
	
class AboutMe(models.Model):
	title = models.CharField(max_length=100)
	body = models.TextField()
	created = models.DateTimeField()
	
class MySkill(models.Model):
	body = models.TextField()
	
class Post(models.Model):
	title = models.CharField(max_length=100)
	body = models.TextField()
	created = models.DateTimeField()
	category = models.ForeignKey(Category)
	
	def __unicode__(self):
		return self.title

	